]> permondes.de Git - Analog_Engine.git/blame - scripts/TP1 09.26 rope over table edge.DELACE
a rope slides frictionlessly down the edge of a table
[Analog_Engine.git] / scripts / TP1 09.26 rope over table edge.DELACE
CommitLineData
6e4089e8
P
1# a rope slides frictionlessly down the edge of a table
2# x'' = g/l * x
3
4coefficient(1): 1 -> x0' # initial speed
5coefficient(2): -1 -> -x0 # initial length of rope already over the edge of the table
6coefficient(3): g/l # gravity constant (g) devided by the length of the rope (l)
7
8iintegrate (x'') -> -x':
9 IC: x0'
10iintegrate (-x') -> x:
11 IC: -x0
12x * g/l -> g/l*x = x''
13
14# note: positive x-axis in the direction of the falling rope (so down)
15# for visualization, -x is displayed
16invert (x) -> -x # goes to output x